<?php
namespace Mobile\Widget;
use Think\Controller;

class GuestWidget extends Controller{
    
    /*
     * 用户信息登记模板
     * $touser 接收留言的人
     */
    public function book($touser,$article){
        layout(false);
        $this->assign('touser',$touser);
        $this->assign('article',$article);
        $this->display('Guest/book');
    }
    
    /*
     * 文章赞赏
     */
    public function zanshang($touser,$dslist,$article,$is_pay,$memberinfo){
        layout(false);
        $this->assign('touser',$touser);
        $this->assign('dslist',$dslist);
        $this->assign('article',$article);
        $this->assign('is_pay',$is_pay);
        $this->assign('memberinfo',$memberinfo);
        $this->display('Guest/zanshang');
    }
    
    /*
     * 朋友圈赞赏
     */
    public function shang(){
        layout(false);
        $this->display('Guest/shang');
    }
    
    
    
    /*
     * 推荐信息
     */
    public function tuijian(){
        layout(false);
        $this->display('Guest/tuijian');
    }
    
    /*
     * 个人二维码样式1
     */
    public function qrcode1($touser,$article){
        layout(false);
        $this->assign('touser',$touser);
        $this->assign('article',$article);
        $this->display('Guest/qrcode1');
    }

}